home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / nihcl-30.lha / nihcl-3.0 / ex / LandVhcl.h < prev    next >
C/C++ Source or Header  |  1990-05-15  |  639b  |  26 lines

  1. #ifndef LANDVHCL_H
  2. #define LANDVHCL_H
  3.  
  4. // $Header: /afs/alw.nih.gov/unix/sun4_40c/usr/local/src/nihcl-3.0/share/ex/RCS/LandVhcl.h,v 3.0 90/05/15 22:43:38 kgorlen Rel $
  5.  
  6. #ifndef MI
  7. #define MI
  8. #endif
  9.  
  10. #include "Vehicle.h"
  11.  
  12. class LandVhcl: public virtual Vehicle {
  13.     DECLARE_MEMBERS(LandVhcl);
  14.     unsigned axles;
  15. protected:      // storer() functions for object I/O
  16.     virtual void storer(OIOofd&) const;
  17.     virtual void storer(OIOout&) const;
  18.     virtual void _printOn(ostream& strm =cout) const;
  19. public:
  20.     LandVhcl(float h, float l, unsigned a =2) : Vehicle(h,l)
  21.       { axles = a; }
  22.     virtual void deepenShallowCopy();
  23. };
  24.  
  25. #endif
  26.